<template>
	<view class="money">
	<view class="status_bar"><!-- 这里是状态栏 --></view>
		<money-head v-show="statusH"></money-head>
		<money-missPage v-show="!statusH"></money-missPage>
	</view>
</template>

<script>
	import headM from '../../components/money-head/money-head.vue'
	import missPage from '../../components/money-missPage/money-missPage.vue'
	import dates from '../../components/money-date/money-date.vue'
	export default {
	  name: 'money',
	  components:{
		 headM,
		  dates,
		  missPage,
	  },
	  data() {
	    return {
			statusH:true
	    };
	  },
	  mounted() {
	
	  },
	  created() {
		  console.log('istoken', this.$store.state.istoken)
		  if(this.$store.state.istoken){
			  this.statusH=true
		  }else{
			  this.statusH=false
		  }
	  }
	};
</script>

<style>
	
</style>
